
<?php
/* @var $this HomeController */

$this->breadcrumbs=array(
		'Home',
);
?>
<script type="text/javascript">
<!--
	//loading products for home page
	$(document).ready(function(){
		$("#carouselPanel").load('<?php echo Yii::app()->createUrl("home/cateCarousel")?>', function(){
			$('.summary').remove();
			var html = $(this).find('div').html();
			$(this).find('div').remove();
			$(this).html(html);
			$('.carousel').uCarousel({
				show : 5,
				buttonClass : 'car_btn'
			});
		});

		$("#postPanel").load('<?php echo Yii::app()->createUrl("home/homePost")?>', function(){
			//alert("done");
		});
		
	});

//-->
</script>
<div class="grid_4">
	<h3>
		<b><?php echo Lang::getResource("online.support"); ?> </b>
	</h3>
	<ul class="list-1 indent-bottom">
		<li>
		
		<a href="ymsgr:sendIM?qtrung1005"> <img border="0"
				src="http://opi.yahoo.com/online?u=qtrung1005&m=g&t=2&l=us">
		</a><br>
		<span><?php echo Lang::getResource("trung.director"); ?><br>
		Tel: 0938.388.225
		</span>
		<br>
		</li>
		<li><a href="ymsgr:sendIM?hongthai999"> <img border="0"
				src="http://opi.yahoo.com/online?u=hongthai999&m=g&t=2&l=us">
		</a>
		<br>
		<span><?php echo Lang::getResource("thai.business.admin");?><br>
		Tel: 0909.277.147
		</span>
		<br>
		</li>
		
	</ul>
	
	<div>
		<?php 
			
			foreach ($youtubes as $v){
				echo '<span>';
				echo $v->note;
				echo '</span>';
				echo "<div>";
				$yid = WebUtils::getYouTubeIdFromURL($v->link);
				echo '<iframe width="200" src="http://www.youtube.com/embed/'.$yid.'" frameborder="0" allowfullscreen></iframe>' ;
				echo "</div>";
				echo "<br />";
			}
		
		?>
	</div>

</div>

<article class="grid_8"
	id="postPanel"></article>
<div class="clear"></div>
<?php //echo $page_content->content; ?>
